#ifndef __SOCKET_H__
#define __SOCKET_H__

#include "Noncopyable.hpp"

namespace wd
{

class Socket : Noncopyable
{

public:
    Socket();

    explicit Socket(int);

    ~Socket();

    void shutdownWrite();

    int fd() const
    {
        return _fd;
    }

private:
    int _fd;
};

} // end of namespace wd

#endif

